import request from '@/utils/request'

export function feachList() {
  return request({
    url: `/admin/config/list`,
    method: 'post'
  })
}

export function updateConfig(key, value) {
  return request({
    url: '/admin/config/update',
    method: 'post',
    params: {
      key: key,
      value: value
    }
  })
}
